using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dapper.Contrib.Extensions;
using Publicuse.Entity.AttributeUtil;
using SqlSugar;

namespace Publicuse.Entity
{
  /// <summary>
  /// 系统参数配置信息
  /// </summary>
  [DBTable("`geeker-spconf`", "系统参数配置信息")]
  [Table("`geeker-spconf`")]
  [SugarTable("`geeker-spconf`")]
  public partial class Spconf : BaseModel<long>
  {
    [Remark("名称")]
    public string sName { get; set; }

    [Remark("编码")]
    public string sCode { get; set; }

    [Remark("参数值")]
    public string sValue { get; set; }

    public Spconf()
    {
      this.Id = 0;
    }
  }

  /// <summary>
  /// 系统参数配置查询参数
  /// </summary>
  public class SpconfQuery : CommonQuery
  {
    public int sId { get; set; }
    public string sName { get; set; }

    public string sCode { get; set; }

    public int sStatus { get; set; }

    public string cTime { get; set; }

    public SpconfQuery()
    {
      this.exportName = GetExportName;
      this.businessType = BusinessType.spconf;
    }

    public static string GetExportName
    {
      get { return "spconf"; }
    }
  }
}
